
.page-content.guides-section {
    padding: 60px 0;

}


.guides-section .introduction-section {
    text-align: center;
    margin-bottom: 50px;
}

.guides-section .main-heading {
    font-size: 2.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.guides-section .descriptive-paragraph {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.guides-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


.guide-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.guide-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.05);
}

.image-overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 12px 15px;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.3;
    transition: background-color 0.3s ease;
}

.guide-card:hover .image-overlay-title {
    background-color: rgba(0, 0, 0, 0.7);
}

.guide-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;

}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    margin-top: auto;
}

.read-time {
    font-size: 0.8rem;
    color: #777;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.read-guide-link {
    font-size: 0.85rem;
    color: #007bc7;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.read-guide-link:hover {
    color: #005a93;
    text-decoration: underline;
}


@media (max-width: 1200px) {
    .guides-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .guides-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .guides-section .main-heading {
        font-size: 2.2rem;
    }

    .guide-card-image {
        height: 200px;
    }

    .image-overlay-title {
        font-size: 1.05rem;
        padding: 10px 12px;
    }
}

@media (max-width: 600px) {
    .guides-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guides-section .main-heading {
        font-size: 1.9rem;
    }

    .guides-section .descriptive-paragraph {
        font-size: 1rem;
    }

    .guide-card-image {
        height: 180px;
    }

    .image-overlay-title {
        font-size: 1rem;
    }

    .guide-card-content {
        padding: 15px;
    }

    .guide-description {
        font-size: 0.9rem;
    }
}